﻿namespace DomainModel.Domain.Bases
{
    public abstract class Entity<T, PK> : PersistentObject<PK>, IEntity<T>
    {
        protected Entity(PK id) : base(id)
        {
        }

        internal Entity()
        {
            
        }

        public virtual bool SameIdentityAs(T other)
        {
            return Equals(other);
        }
    }
}